package ru.papergames.utils.helpers
{
	import flash.utils.getDefinitionByName;
	import flash.utils.getQualifiedClassName;
	
	public final class ClassHelper
	{
		
		public static function getObjectClass(obj:Object):Class {
			var funcWindowClassName:String = getQualifiedClassName(obj);
			
			return getDefinitionByName(funcWindowClassName) as Class;
		}

	}
}